package com.haoyun.mirage.auth.service;

import org.springframework.security.core.userdetails.UserDetailsService;

/**
 * Created by twg on 2018/5/27.
 */
public interface IUserService extends UserDetailsService {

    /**
     * 保存验证码到redis
     *
     * @param random
     * @param code
     */
    void saveCodeImage(String random, String code);
}
